package kr.hkit.powerjava.chapter08;

import kr.hkit.powerjava.chapter08.Programming.BankAccount;

public class TestBankAccount {

	public static void main(String[] args) {
		BankAccount account = new BankAccount("김태희", 12341234, 100);
		
		System.out.println(account);
		account.deposit(10000);
		System.out.println(account);
		
		int result = account.withdraw(20000);
		System.out.println(result);
		System.out.println(account);
	}
}
